<?php

/* @var $this yii\web\View */

use yii\helpers\Html;
use yii\widgets\ActiveForm;

//use app\assets\SmartWizardAsset;
//SmartWizardAsset::register($this);
?>
<div class='container' style='margin-bottom:100px;'>

<?php $form = ActiveForm::begin();?>
<?= $form->field($model, 'channel_name',['inputOptions'=>['class'=>'form-control','readonly'=>true]]) ?>
<?= $form->field($model, 'channel',['template'=>'{input}'])->hiddenInput() ?>
<?= $form->field($model, 'money')->widget(\yii\widgets\MaskedInput::className(), ['mask' =>'9{1,9}[\.99]'])->label('充值金额（单位：元）') ?>
<?php
  /*$keys=  [
          '1'=>'网银支付',
          '2'=>'支付宝',
          '3'=>'微信支付'
        ];*/
  if('2'==$model->channel){
?>
    <div class="form-group">
      <label class="control-label">充值备注提示</label>
      <!--input name="CongzhiMoneyForm[real_name]" class="form-control" id="congzhimoneyform-real_name" aria-required="true" type="text"-->
      <div class="hint-block">充值转账时，请务必在支付宝APP的备注中填写您的用户名</div>
    </div>

<?php
  }
 ?>
<?php ActiveForm::end(); ?>

</div>
